package net.sh.dpinfrastructure.support.spring.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import net.sh.dpinfrastructure.config.DPConfig;
import net.sh.dpinfrastructure.log.DPLogger;


/**
 * 
 * logger配置类
 * 
 * @version 1.0
 * @since JDK1.7
 * @author shaohui
 * @company 上海朝阳永续信息技术有限公司
 * @copyright (c) 2016 SunTime Co'Ltd Inc. All rights reserved.
 * @date 2016年8月8日 下午2:25:27
 */
@Configuration
public class DPLogConfiguration {
    
    @Bean
    public DPLogger getDPLogger(DPConfig config) {
        return new DPLogger();
    }
}
